ErrorDocument 403 /404.html
ErrorDocument 404 /404.html

DirectoryIndex index.html
Options -Indexes

RewriteEngine On

# robots.txt для каждого домена (если есть файл robots_домен.txt)
RewriteCond %{REQUEST_URI} ^/robots\.txt$
RewriteCond %{DOCUMENT_ROOT}/robots_%{HTTP_HOST}.txt -f
RewriteRule ^ robots_%{HTTP_HOST}.txt [L]


